package com.zhentao.model.common.app.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName friend
 */
@TableName(value ="friend")
@Data
public class Friend implements Serializable {
    /**
     * ID
     */
    @TableId(value = "friend_id", type = IdType.AUTO)
    private Integer friendId;

    /**
     * 账号ID
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 用户详情ID
     */
    @TableField(value = "useritem_id")
    private Integer useritemId;

    /**
     * 交友圈内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 交友圈图片
     */
    @TableField(value = "image")
    private String image;

    /**
     * 地理位置
     */
    @TableField(value = "location")
    private String location;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 点赞数
     */
    @TableField(value = "likes")
    private Integer likes;

    /**
     * 评论数
     */
    @TableField(value = "comment")
    private Integer comment;

    @TableField(value = "audit_status")
    private Integer auditStatus;

    @TableField(exist = false)
    private String[] images;

    @TableField(exist = false)

    private static final long serialVersionUID = 1L;
}